import Vue from 'vue'
import Router from 'vue-router'
import BookIndex from '@/components/BookIndex'
import BookList from '@/components/BookList'
import BookContent from '@/components/BookContent'
import ProjectIndex from '@/components/ProjectIndex'
import MusicContent from '@/components/MusicContent'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: ProjectIndex
    },
    {
      path: '/p_book/',
      component: BookIndex
    },
    {
      path: '/p_book/list',
      component: BookList
    },
    {
      path: '/p_book/content',
      component: BookContent
    },
    {
      path: '/p_music/content',
      component: MusicContent
    }
  ]
})
